package com.itheima.service.impl;

import com.itheima.service.UserService;

public class UserServiceImpl implements UserService {
    public UserServiceImpl(){
        System.out.println("UserServiceImpl constructor...");
    }
    @Override
    public void save() {
        System.out.println("userservice save...");
    }

    //public void 方法名(空参)
    public void init(){
        System.out.println("UserServiceImpl init...");
    }

    public void destroy(){
        System.out.println("UserServiceImpl destroy...");
    }
}
